<template>
    <div class="container">
        <Child></Child>
    </div>
</template>
<script lang='ts' setup>
import Child from './components/Child.vue';
import {provide} from 'vue'
provide("msg","来自App组件的信息")
</script>
<style lang='scss' scoped>
.container{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 500px;
    height: 200px;
    border: 2px dashed darkcyan;
}
</style>